#pragma once

#include "../SGD Wrappers\SGD_Math.h"
#include "Animation.h"

#include <vector>
using namespace std;

class Arm;

enum ToolType { EMPTY, GRAPPLE, MAGNET, THERMO};
class Tool
{
	tVector2D currentHeading;
	vector<Animation> animations;
	Animation* currAnimation;

protected:
	bool isActive;
	Arm* arm;

public:
	Tool(void);
	virtual ~Tool(void);

	virtual void Update(float deltaTime);
	virtual void Render(void) const;

	virtual void ActivateTool(Arm* arm);
	virtual void DeactivateTool(void);
	void SetHeading(tVector2D heading);
	tVector2D GetHeading(void) const;
	void SetIsActive(bool active); 
	bool GetActive() const;

};

